x86/libxl: replace non-POSIX error codes used by PSR code
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 22 Jul 2015 14:45:35 +0000 (16:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 22 Jul 2015 14:45:35 +0000 (16:45 +0200)
commit21a85ed569e59c5968b770a913a83a6b45213be7
treefa8b0f093837888a92b5ffa7d975afbfa4e3b0db
parentbc299d01b925d934219b6e8c29fadcd1f1a9210b
x86/libxl: replace non-POSIX error codes used by PSR code

PSR was using EBADSLT and EUSERS which are not POSIX error codes, replace
them with ENOTSOCK and EOVERFLOW respectively.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_psr.c
xen/arch/x86/psr.c
xen/include/public/errno.h